package com.joysuch.wwyt.bp.bean.change;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class BpChangeRecordQueryBean implements Serializable {

    @ApiModelProperty("分页-当前页码")
    private int page;

    @ApiModelProperty("分页-每页大小")
    private int size;

    @ApiModelProperty("变更项目")
    private String changeItem;

    @ApiModelProperty("变更类型")
    private String changeType;

    @ApiModelProperty("变更申请时间 -开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date applyDateStart;


    @ApiModelProperty("变更申请时间 -结束")
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date applyDateEnd;

    @ApiModelProperty("变更状态： 1=待审核，2=审核通过，3=审核不通过")
    private Integer state;

    @ApiModelProperty("变更审批时间 -开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date approveDateStart;

    @ApiModelProperty("变更审批时间 -结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date approveDateEnd;


}
